//
//  WSSearchResultCell.m
//  CharonTVProject
//
//  Created by karong on 2023/8/1.
//

#import "WSSearchResultCell.h"
#import "NSString+Number.h"

@interface WSSearchResultCell ()

@property (weak, nonatomic) IBOutlet UIButton *totalViewButton;

@end

@implementation WSSearchResultCell

- (void)setDataWithObject:(WSVideo *)object {
    [super setDataWithObject:object];
    [self.totalViewButton setTitle:[NSString ws10Thousands1DecimalWithValue:object.play_num] forState:(UIControlStateNormal)];
    [self.totalViewButton setButtonImageTitleStyle:(WSButtonImageTitleStyleLeft) padding:3];
}

@end
